Skip to content

Conversation

@eymar
Copy link
Collaborator

@eymar eymar commented Apr 2, 2025

Highlights:

  • Added a new module "gallery-demo" to see and test the changes without full publication. It doesn't use the storytale gradle plugin. It can be run using ./gradlew :gallery-demo:wasmJsBrowserDevelopmentRun
  • web-specific configuration in the gradle plugin is not compatible with Kotlin 2.1.20 - I left a TODO for now. It won't work for now.
Screenshot 2025-04-02 at 12 07 42

}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added for hot-reload on jvm/deskop: https://github.com/JetBrains/compose-hot-reload

@eymar eymar requested a review from JSMonk April 2, 2025 12:06
@@ -0,0 +1,122 @@
import org.jetbrains.compose.reload.ComposeHotRun
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a small question related to this module. We have the example one, which contains an example of the demo. Was it intentional to create a new one instead of re-using the example?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the existing example requires a publication of all the modules to mavenLocal.
It was more convenient to iterate and test the gallery changes without a publication.

The existing example module is still useful to test the integration of all modules - we have CI checks with it.
We have something similar is Compose Multiplatform too: a demo right in the core project - it uses project dependencies, and a set of side projects which integrate everyting as published module dependencies.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the future, we need to figure out how to organize the structure in the repo so that it does not confuse us or the new contributors.

@eymar eymar merged commit 4fed3e2 into main Apr 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants